package com.zhiqiang.nativeplayer;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;


@SpringBootApplication
@Slf4j
public class NativeplayerApplication {

    public static void StartApplication(String[] args){
        new SpringApplicationBuilder(NativeplayerApplication.class)
                .properties("server.address="+args[0],"server.port="+args[1])
                .run(args);
        log.info("server listening at "+args[0]+":"+args[1]);
        //SpringApplication.run(NativeplayerApplication.class, args);
    }

}
